package cenum.room;

public enum UpwardTimeEnum {

    TIME_60(60),

    TIME_120(120),

    TIME_180(180),

    TIME_240(240);

    private int value;

    UpwardTimeEnum(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }
    public static UpwardTimeEnum valueOf(int value) {
        for (UpwardTimeEnum flow : UpwardTimeEnum.values()) {
            if (flow.ordinal() == value) {
                return flow;
            }
        }
        return UpwardTimeEnum.TIME_60;
    }
}
